
func void B_DeletePetzCrime(var C_Npc slf)
{
	if(C_NpcBelongsToOldCamp(slf))
	{
		if(B_GetPlayerCrime(slf) == CRIME_MURDER)
		{
			PETZCOUNTER_OldCamp_Murder = PETZCOUNTER_OldCamp_Murder - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_THEFT)
		{
			PETZCOUNTER_OldCamp_Theft = PETZCOUNTER_OldCamp_Theft - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_ATTACK)
		{
			PETZCOUNTER_OldCamp_Attack = PETZCOUNTER_OldCamp_Attack - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_SHEEPKILLER)
		{
			PETZCOUNTER_OldCamp_Sheepkiller = PETZCOUNTER_OldCamp_Sheepkiller - 1;
		};
	};
	if(C_NpcBelongsToCity(slf))
	{
		if(B_GetPlayerCrime(slf) == CRIME_MURDER)
		{
			PETZCOUNTER_City_Murder = PETZCOUNTER_City_Murder - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_THEFT)
		{
			PETZCOUNTER_City_Theft = PETZCOUNTER_City_Theft - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_ATTACK)
		{
			PETZCOUNTER_City_Attack = PETZCOUNTER_City_Attack - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_SHEEPKILLER)
		{
			PETZCOUNTER_City_Sheepkiller = PETZCOUNTER_City_Sheepkiller - 1;
		};
	};
	if(C_NpcBelongsToMonastery(slf))
	{
		if(B_GetPlayerCrime(slf) == CRIME_MURDER)
		{
			PETZCOUNTER_Monastery_Murder = PETZCOUNTER_Monastery_Murder - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_THEFT)
		{
			PETZCOUNTER_Monastery_Theft = PETZCOUNTER_Monastery_Theft - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_ATTACK)
		{
			PETZCOUNTER_Monastery_Attack = PETZCOUNTER_Monastery_Attack - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_SHEEPKILLER)
		{
			PETZCOUNTER_Monastery_Sheepkiller = PETZCOUNTER_Monastery_Sheepkiller - 1;
		};
	};
	if(C_NpcBelongsToFarm(slf))
	{
		if(B_GetPlayerCrime(slf) == CRIME_MURDER)
		{
			PETZCOUNTER_Farm_Murder = PETZCOUNTER_Farm_Murder - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_THEFT)
		{
			PETZCOUNTER_Farm_Theft = PETZCOUNTER_Farm_Theft - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_ATTACK)
		{
			PETZCOUNTER_Farm_Attack = PETZCOUNTER_Farm_Attack - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_SHEEPKILLER)
		{
			PETZCOUNTER_Farm_Sheepkiller = PETZCOUNTER_Farm_Sheepkiller - 1;
		};
	};
	if(C_NpcBelongsToBL(slf))
	{
		if(B_GetPlayerCrime(slf) == CRIME_MURDER)
		{
			PETZCOUNTER_BL_Murder = PETZCOUNTER_BL_Murder - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_THEFT)
		{
			PETZCOUNTER_BL_Theft = PETZCOUNTER_BL_Theft - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_ATTACK)
		{
			PETZCOUNTER_BL_Attack = PETZCOUNTER_BL_Attack - 1;
		};
	};
	if(c_npcbelongstocoast(slf))
	{
		if(B_GetPlayerCrime(slf) == CRIME_MURDER)
		{
			PETZCOUNTER_COAST_MURDER = PETZCOUNTER_COAST_MURDER - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_THEFT)
		{
			PETZCOUNTER_COAST_THEFT = PETZCOUNTER_COAST_THEFT - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_ATTACK)
		{
			PETZCOUNTER_COAST_ATTACK = PETZCOUNTER_COAST_ATTACK - 1;
		};
	};
	if(c_npcbelongstopsicamp(slf))
	{
		if(B_GetPlayerCrime(slf) == CRIME_MURDER)
		{
			PETZCOUNTER_PSICAMP_MURDER = PETZCOUNTER_PSICAMP_MURDER - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_THEFT)
		{
			PETZCOUNTER_PSICAMP_THEFT = PETZCOUNTER_PSICAMP_THEFT - 1;
		};
		if(B_GetPlayerCrime(slf) == CRIME_ATTACK)
		{
			PETZCOUNTER_PSICAMP_ATTACK = PETZCOUNTER_PSICAMP_ATTACK - 1;
		};
	};
};

